package com.zq.thread;

public class ThreadTest {
    public static void main(String[] args) {
//        Thread t = new Thread(){
//            @Override
//            public void run() {
//                System.out.println(Thread.currentThread().getName());
//            }
//        }
        new Thread(()->{
            System.out.println(Thread.currentThread().getName());
        }).start();
    }
}